Skip to content

chore: update upgrade prompt after merging extension#971

Draft
frankliu20 wants to merge 1 commit intomicrosoft:mainfrom
frankliu20:frank/update-prompt-4-java-upgrade
Draft

chore: update upgrade prompt after merging extension#971
frankliu20 wants to merge 1 commit intomicrosoft:mainfrom
frankliu20:frank/update-prompt-4-java-upgrade

Conversation

@frankliu20
Copy link

@frankliu20 frankliu20 commented Mar 11, 2026

Background

Java upgrade extension and app mod for Java extension is merging into one. So here we just need update prompt, tool names and commands to the new merged one.

Changes

This pull request updates the integration between the Java upgrade functionality and the app modernization extension, consolidating extension references and simplifying prompt generation. The most important changes are grouped below:

Extension consolidation and command updates:

  • Changed the APP_MODERNIZATION_UPGRADE_FOR_JAVA constant in src/constants.ts to use the app modernization extension identifier, reflecting the merge of the Java upgrade extension into the modernization extension.
  • Updated the GOTO_AGENT_MODE command in src/commands.ts to use the new namespace, aligning with the app modernization extension.
  • Modified the command invocation in src/upgrade/upgradeManager.ts to include a useCustomAgent: true flag, enabling custom agent mode for upgrades.

Prompt simplification and CVE validation changes:

  • Simplified upgrade prompts in src/upgrade/utility.ts by removing references to tool invocation and updating CVE validation command to use the new modernization extension command.

@frankliu20 frankliu20 marked this pull request as draft March 11, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant